package com.xiu.travel.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;

/**
 * @author lijie
 * @date 2023/7/4 13:05
 * @description FeedbackEnum
 */
@AllArgsConstructor
public enum FeedbackEnum implements IEnum<Integer>
{
    /**
     * App功能问题建议
     */
    APP_FUNCTION(0,"App功能问题建议"),
    /**
     * 地址定位问题建议
     */
    ADDRESS_LOCATION(1,"地址定位问题建议"),
    /**
     * 商品相关问题建议
     */
    PRODUCT(2,"商品相关问题建议"),
    /**
     * 订单配送问题建议
     */
    ORDER_DELIVERY(3,"订单配送问题建议"),
    /**
     * 客服服务问题建议
     */
    CUSTOMER_SERVICE(4,"客服服务问题建议");;
    @EnumValue
    private final Integer code;
    @JsonValue
    private final String status;

    public String getStatus() {
        return status;
    }

    @Override
    public Integer getValue() {
        return code;
    }
}
